﻿using System;
using System.Windows.Forms;
using NmbpProject2.PresentationLayer;

namespace NmbpProject2
{
    internal static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        private static void Main()
        {
            DataConfig.openConnection();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());

            DataConfig.closeConnection();
        }
    }
}

/* Subversion check:
 * 
 * Lana:
 * Andrija:check!
 * Marko:
 * Martin: check!
 * 
 */